package com.len.service;

import com.len.base.BaseMapper;
import com.len.base.BaseService;
import com.len.base.impl.BaseServiceImpl;
import com.len.entity.SpYongjin;
import com.len.mapper.SpYongjinMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SpYongjinService extends BaseServiceImpl<SpYongjin, String> {
    @Autowired
    private SpYongjinMapper spYongjinMapper;
    @Override
    public BaseMapper<SpYongjin, String> getMappser() {
        return spYongjinMapper;
    }
    public SpYongjin getyj(String fkId){
        return spYongjinMapper.getyj(fkId);
    }

    public List<Map> listPh(){
        return spYongjinMapper.listPh();
    }
}
